package com.rideplans.client.planride;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.rideplans.client.MainView;


public class WizardPrivacyFriends extends Composite {

	public WizardPrivacyFriends() {
		AbsolutePanel absolutePanel = new AbsolutePanel();
		initWidget(absolutePanel);
		absolutePanel.setSize("984px", "785px");
		
		Button btnNext = new Button("Next");
		absolutePanel.add(btnNext, 935, 751);
		
		Label lblNewLabel = new Label("Privacy and Friends");
		lblNewLabel.setStyleName("gwt-Label-header");
		absolutePanel.add(lblNewLabel, 0, 0);
		lblNewLabel.setSize("984px", "31px");
		
		Button btnBack = new Button("Back");
		absolutePanel.add(btnBack, 10, 751);
		
		btnNext.addClickHandler(new ClickHandler() {
			public void onClick(ClickEvent event) {
				MainView.absolutePanelContent.clear();
				MainView.absolutePanelContent.add(new WizardDone());
			}
		});
		
		btnBack.addClickHandler(new ClickHandler() {
			public void onClick(ClickEvent event) {
				MainView.absolutePanelContent.clear();
				MainView.absolutePanelContent.add(new WizardEquipments());
			}
		});
	}
}
